package com.rpframework.website.device.domain;

import com.rpframework.core.mybatis.plugin.annotation.FieldMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.TableMapperAnnotation;
import com.rpframework.core.mybatis.plugin.annotation.UniqueKeyType;

@TableMapperAnnotation(tableName="community_property" ,uniqueKeyType = UniqueKeyType.Single, uniqueKey = "id")
public class CProperty {
	@FieldMapperAnnotation
	private Integer id;   //
	@FieldMapperAnnotation
	private String cityid;   //用户id
	@FieldMapperAnnotation
	private String communityname;   //物业名字
	@FieldMapperAnnotation
	private String responsible;   //负责任
	@FieldMapperAnnotation
	private String phone;   //电话
	@FieldMapperAnnotation
	private String address;   //地址
	@FieldMapperAnnotation
	private String password;   //密码
	@FieldMapperAnnotation
	private String msg;   //介绍
	@FieldMapperAnnotation
	private String pic;   //头像
	@FieldMapperAnnotation
	private long contiontime;   //申请时间
	@FieldMapperAnnotation
	private Integer propertyid;   //申请时间
	@FieldMapperAnnotation
	private Integer state;   //状态
	@FieldMapperAnnotation
	private String lng;   //经度
	@FieldMapperAnnotation
	private String lat;   //纬度
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	
	public Integer getPropertyid() {
		return propertyid;
	}
	public void setPropertyid(Integer propertyid) {
		this.propertyid = propertyid;
	}
	public String getResponsible() {
		return responsible;
	}
	public void setResponsible(String responsible) {
		this.responsible = responsible;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public String getCityid() {
		return cityid;
	}
	public void setCityid(String cityid) {
		this.cityid = cityid;
	}
	public String getCommunityname() {
		return communityname;
	}
	public void setCommunityname(String communityname) {
		this.communityname = communityname;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public long getContiontime() {
		return contiontime;
	}
	public void setContiontime(long contiontime) {
		this.contiontime = contiontime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "CProperty [id=" + id + ", cityid=" + cityid
				+ ", communityname=" + communityname + ", password=" + password
				+ ", contiontime=" + contiontime + ", state=" + state + "]";
	}
	
	
	
	
}
